import http from '@/utils/http'
const env = import.meta.env
const BASE_URL4 = env.PROD ? `${env.VITE_API_BASE_URL4}/adminFinance` : '/adminFinance'

/** @desc 获取发票列表 */
export function transferInvoiceList(params: any) {
  return http.get(`${BASE_URL4}/v1/businessTransfer/transferInvoice/search`, params)
}

/** @desc 发票审核 */
export function transferInvoiceAudit(params: any) {
  return http.get(`${BASE_URL4}/v1/businessTransfer/transferInvoice/audit`, params)
}

/** @desc 获取打款列表 */
export function accountTransferList(params: any) {
  return http.get(`${BASE_URL4}/v1/businessTransfer/accountTransfer/search`, params)
}

/** @desc 打款审核 */
export function accountTransferAudit(params: any) {
  return http.get(`${BASE_URL4}/v1/businessTransfer/accountTransfer/audit`, params)
}

/** @desc 获取打款账户列表 */
export function accountTransferSelfAccountList(params: any) {
  return http.get(`${BASE_URL4}/v1/businessTransfer/accountTransfer/selfAccountList`, params)
}

/** @desc 打款列表顶部统计 */
export function accountTransferSearchHeadData(params: any) {
  return http.get(`${BASE_URL4}/v1/businessTransfer/accountTransfer/searchHeadData`, params)
}
